package Structural_design_pattern.Composite_Pattern.Example2;

public class Pear extends MyElement {
    public void eat(){
        System.out.println("吃梨");
    }
}
